package com.open.capacity.finance.dto;

import lombok.Data;

import java.math.BigDecimal;

/**
 *  科目余额表
 */
@Data
public class XszDto {

    public String pzrq;
    public String pzid;
    public String pzh;
    public String flxh;
    public String zy;
    public String kjkm;

    public String expecoCode;
    public String expfuncCode;
    public String projectCode;
    public String depproCode;
    public String departmentCode;

    public String expeco;
    public String expfunc;
    public String project;
    public String deppro;
    public String department;

    public Integer yefx;
    public String yefxStr;
    public String getYefxStr(){
        if (yefx != null) {
            switch (yefx) {
                case 0:
                    return "平";
                case 1:
                    return "借";
                case 2:
                    return "贷";
                default:
                    return "借";
            }
        } else {
            return "";
        }
    }
    public BigDecimal j;
    public BigDecimal d;
    public BigDecimal ye;

}
